This folder contains five R Markdown (Rmd) files:

0 - Render.Rmd: Serves as the main script, guiding the entire analysis. It prepares the data (via 1 - Preparation_base_SR.Rmd) and runs each of the analytical scripts (2 - Meta_torender.Rmd, 3 - Any_methods.Rmd, 4 - PTSD_methods.Rmd).

1 - Preparation_base_SR.Rmd: Prepares the dataset by renaming columns, setting column types, and converting HDI and GII to percentages. It also estimates standard errors (SE) for cases with missing SE values.

2 - Meta_torender.Rmd: Conducts meta-analyses for each condition in the diagx list, stratified by country, setting, and sex. Additionally, it performs meta-regression on variables such as "Gini", "Homicide Rate", "HDI", and "GII".

3 - Any_methods.Rmd: Runs meta-analyses based on different methodological definitions (e.g., survey instrument, diagnostic criteria, and number of disorders). This script focuses on lifetime, 12-month, and current prevalence for any condition (e.g., "ANY1", "ANY2", "ANY4"). Methods include variables like "MASIST_2", "Interview", ,"Incluye_OCD","Incluye_PTSD","Incluye_SP","IncluyeSepAD).

4 - PTSD_methods.Rmd: Runs meta-analyses based on different method definitions (e.g., "MASIST_2", "Interview", "Interview_wo_dis"), but specifically for PTSD. It examines lifetime, 12-month, and current PTSD prevalence (e.g., "PTSD1", "PTSD2", "PTSD4").

Data Files:
2024.05.04. Extraccion_ANX_PTSD.xlsx: Used in 1 - Preparation_base_SR.Rmd to generate df0_SR.csv, which is then used in the subsequent Rmd files.
SupplementalTable6AnyAnxiety.csv: Exclusively used in 3 - Any_methods.Rmd.

Output Files:
The Render folder will store all output files generated by running 1 - 4 Rmd files.
A png folder is also included to store generated PNG images.
